package com.hotacorp.opencloud.jobservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

import com.hotacorp.opencloud.common.log.annotation.EnableLogging;
import com.hotacorp.opencloud.common.resourcecommon.annotation.EnableOpenCloudResourceServer;

import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * 分布式定时任务服务启动器
 * @author lwg
 *
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableOpenCloudResourceServer
@EnableFeignClients
@EnableSwagger2
@EnableLogging
public class JobServiceApplication {

	public static void main(String[] args) {
		SpringApplication.run(JobServiceApplication.class, args);
	}

}
